package com.zhou.SingletonMode;

import java.util.concurrent.TimeUnit;

public class SingletonLazy {
    private static SingletonLazy instance;

    private SingletonLazy(){};

    public static synchronized SingletonLazy getInstance(){
        if(instance == null){
            instance = new SingletonLazy();
        }
        return instance;
    }
}
